package com.jzo2o.foundations.service;

import com.jzo2o.foundations.model.dto.ServeTypeListDto;
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;
import com.jzo2o.foundations.model.dto.response.ServeTypeResDTO;

import java.util.List;

public interface HomeService {

    /**
     * 根据区域id获取服务图标信息
     *
     * @param regionId 区域id
     * @return 服务图标列表
     */
    List<ServeCategoryResDTO> queryServeIconCategoryByRegionIdCache(Long regionId);

    /**
     * 查询服务类型
     * @param regionId
     */
    List<ServeTypeListDto> getServeTypeListByRegionId(Long regionId);

    /**
     * 首页热门服务列表
     * @param regionId
     * @return
     */
    List<ServeAggregationSimpleResDTO> getHotServeList(Long regionId);

    /**
     * 根据id查服务
     * @param id
     * @return
     */
    ServeAggregationSimpleResDTO getServeById(Long id);
}
